The getSymbol method returns execution's symbol.
var getSymbol();
This method returns a symbol string value.
The following example demonstrates the use of getSymbol() method.
function start()
{
//retrieve account's executions orders
var account = getAccount();
var executions = account.getExecutions();
//loop through all executions
for(var i = 0; i < executions.length, i++)
{
var execution = executions[i];
//process execution
var symbol = execution.getSymbol();
}
//proceed further...
}
Copyright © 2006-2009 ActiveTick LLC